using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;

namespace ConsoleApplication2.Models.Mapping
{
    public class Dl_shadowsMap : EntityTypeConfiguration<Dl_shadows>
    {
        public Dl_shadowsMap()
        {
            // Primary Key
            this.HasKey(t => t.id);

            // Properties
            // Table & Column Mappings
            this.ToTable("Dl_shadows");
            this.Property(t => t.id).HasColumnName("id");
            this.Property(t => t.PlanId).HasColumnName("PlanId");
            this.Property(t => t.Image).HasColumnName("Image");
            this.Property(t => t.Toothnb).HasColumnName("Toothnb");
            this.Property(t => t.Saved).HasColumnName("Saved");
        }
    }
}
